
class KrawDemo : public KrawApp
{
public:
    
    bool Open();
    void Close();
    void Tick( float, float );
    void Draw();

private:
    
}

bool KrawDemo::Open()
{
    //load the terrain heightmap
    //load the terrain shader(s)
    //load the terrain texture(s)
    //load the terrain quadtree
}

void KrawDemo::Close()
{
    //release all resources
    //release the camera view
}

void KrawDemo::Tick( float fTime, float fElapsedTime )
{
    //tick the camera
    //cull the visible quadtree cells
}

void KrawDemo::Draw()
{
    //for all visible cells
    //render using the cell and lod cache
}
